import request from "@/plugins/axios";
// 银行列表
export function listApi() {
  return request({
    url: "/admin/bank/index",
  });
}
// 银行添加
export function addApi(data) {
  return request({
    url: "/admin/bank/create",
    method: "post",
    data,
  });
}
// 银行修改
export function saveApi(data) {
  return request({
    url: "/admin/bank/save",
    method: "post",
    data,
  });
}
// 银行删除
export function delApi(data) {
  return request({
    url: "/admin/bank/delete",
    method: "post",
    data,
  });
}
// 状态修改
export function stateApi(data) {
  return request({
    url: "/admin/bank/state",
    method: "post",
    data,
  });
}
